package builder;

public class ProductBuilder implements Builder {

	private Product product;

	public String info1;
	public String info2;

	public Product build() {
		if (product == null) {
			product = new Product(this);
		}

		return product;
	}


	public Builder property1(String info1) {
		this.info1 = info1;
		return this;
	}


	public Builder property2(String info2) {
		this.info2 = info2;
		return this;
	}
}
